package com.jinsilu.freight.http.request;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.BodyType;

/**
 * 获取用户银行卡列表
 *
 * @author yangyang
 * @time 2020-11-20 12:47
 */
public class GetBankCardListApi implements IRequestApi, IRequestType {

    private String pageNum;
    private String pageSize;

    @Override
    public String getApi() {
        return "api/bank/card";
    }


    @Override
    public BodyType getType() {
        return BodyType.FORM;
    }

    public GetBankCardListApi setPageNum(String pageNum) {
        this.pageNum = pageNum;
        return this;
    }

    public GetBankCardListApi setPageSize(String pageSize) {
        this.pageSize = pageSize;
        return this;
    }
}
